// pages/home/home.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    arry:[
      "/images/banner/baner1.jpg",
      "/images/banner/baner2.jpg",
      "/images/banner/baner3.jpg",
      "/images/banner/baner4.jpg",
    ],
    indicatorDots:false,
    autoplay:true,
    circular:true,
    num:0,
    arry2: {
      items0: {
        src: "/images/home/card01.jpg",
        text: '给特别的你'
      },
      items1: {
        src: "/images/home/card02.jpg",
        text: '我想对你说'
      },
      items2: {
        src: "/images/home/card03.jpg",
        text: '勇敢爱'
      },
      items3: {
        src: "/images/home/card04.jpg",
        text: '一个人的精彩'
      },
      items4: {
        src: "/images/home/card05.jpg",
        text: '萌萌哒'
      },
      items5: {
        src: "/images/home/card06.jpg",
        text: '友谊万岁'
      },
      items6: {
        src: "/images/home/card07.jpg",
        text: '恋人未满'
      },
      items7: {
        src: "/images/home/card08.jpg",
        text: '生日快乐'
      }
    },
    arry3: [
      "/images/banner/ban1.jpg",
      "/images/banner/ban2.jpg",
      "/images/banner/ban3.jpg",
      "/images/banner/ban4.jpg",
      "/images/banner/ban5.jpg",
    ],
    indicatorDots2:true,
    autoplay2:false,
    circular2: true,
    arry4: {
      items1: {
        src: "/images/home/newPro1.jpg",
        text: '卡布奇诺'
      },
      items2: {
        src: "/images/home/newPro2.jpg",
        text: '白咖啡'
      },
      items3: {
        src: "/images/home/newPro3.jpg",
        text: '摩卡咖啡'
      },
      items4: {
        src: "/images/home/newPro4.jpg",
        text: '爱尔兰咖啡'
      },
      items5: {
        src: "/images/home/newPro5.jpg",
        text: '甜品咖啡'
      },
      items6: {
        src: "/images/home/newPro6.jpg",
        text: '意大利咖啡'
      },
      items7: {
        src: "/images/home/newPro7.jpg",
        text: '拿铁咖啡'
      },
      items8: {
        src: "/images/home/newPro8.jpg",
        text: '中式咖啡'
      }
    },
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})